package ru.evga.inse.server.gwt.common.client.domain.dict;

import ru.evga.gwt.lib.common.client.domain.BaseEntityDto;


public final class StreetDto
    extends BaseEntityDto
{
    // Overlay types always have protected, zero argument constructors.
    protected StreetDto()
    {
    }

    public final String getEntityName()
    {
        return "street";
    }

    static public final native StreetDto createEmptyStreetDto() /*-{
		return eval("({})");
    }-*/;

    // JSNI methods 
    public final native String getName() /*-{
		return this.name;
    }-*/;

    public final native void setName(String name) /*-{
		this.name = name;
    }-*/;

    public final native CityDto getCity() /*-{
		return this.city;
    }-*/;

    public final native void setCity(CityDto city) /*-{
		this.city = city;
    }-*/;
}
